package com.ycw.cs.common.enums;

/**
 * 应答码跟应答枚举类
 */
public enum ResponseCode {

    SUCCESS(200,"请求成功"),
    FAIL(400,"请求失败"),
    ;

    private int code;
    private String msg;

    ResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
